package com.example.spring.boot;


import com.example.spring.boot.spring.conf.datasource.MySqldbProperties;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ImportResource;
import org.springframework.context.annotation.PropertySource;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication(scanBasePackages="com.example.spring.boot")
@EnableTransactionManagement
@PropertySource("mysql.db.properties")
//@ImportResource("classpath:spring-conf.xml")
public class BootStarter {


    public static void main(String[] args) {
        SpringApplication.run(BootStarter.class, args);
        System.out.println("OK");
    }
}
